package com.dongdongshop.serviec.brand;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.seller.TbSpecificationOptionMapper;
import com.dongdongshop.pojo.seller.TbSpecificationOption;
import com.dongdongshop.service.SpecificationOptionService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
@Service
public class SpecificationOptionServiceImpl implements SpecificationOptionService {
   @Resource
    private TbSpecificationOptionMapper tbSpecificationOptionMapper;
    @Override
    public List<TbSpecificationOption> listOptionsBySpecId(Long id) {
        return tbSpecificationOptionMapper.listOptionsBySpecId(id);
    }
}
